<!DOCTYPE HTML>
<html lang="zh-cn" ng-app="myApp">
<head>
	<meta charset="UTF-8">
	<title>basics</title>
	<style type="text/css">
		.ng-cloak {
			display: none;
		};
	</style>
</head>
<body>
	<div class="ng-cloak">{{'Kitty' | greet}}</div>
	<script src="../js/angular-1.0.5/angular.js" type="text/javascript"></script>
	<script type="text/javascript">
		var simpleModule = angular.module("myApp", []);
		simpleModule.filter("greet", function () {
			return function(name) {
				return "Hello " + name + " !";
			}
		});
	</script>
</body>
</html>
